package com.heima.vo;

import com.heima.pojo.Role;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class UserInfoDeptVo {
    // tb_user_info 表基本信息
    private Integer userId;
    private Integer deptId;
    private String userName;
    private String nickName;
    private String email;
    private String phonenumber;
    private String sex;
    private String avatar;
    private String salt;
    private String status;
    private String createBy;
    private String delFlag;
    private String admin;  // 判断是否为 admin, 0为非, 1为是
    private List<Role> roles;
    private String roleIds;

    private String loginIp;
    private LocalDateTime loginDate;
    private LocalDateTime createTime;
    private String updateBy;
    private LocalDateTime  updateTime;

    private DeptVo deptVo;  // 封装 deptVo


}
